#include "BDResourceUtil.h"
#include <QResource>
#include <QDir>

BDResourceUtil::BDResourceUtil()
{
}


BDResourceUtil::~BDResourceUtil()
{
}

void BDResourceUtil::RegisterResource()
{
	QResource::registerResource("Resource.dat");
}

void BDResourceUtil::UnRegisterResource()
{
	QResource::unregisterResource("Resource.dat");
}

QString BDResourceUtil::GetImagePath(const QString& testCaseName, const QString& testName, int example)
{
	return QString(":/IODeviceLibGUI/img/%1/%2/%3").arg(testCaseName).arg(testName).arg(example + 1);
}

void BDResourceUtil::GetImages(const QString& path, QVector<BDImage*>& images, int num)
{

}